Repository navigation
CSS isolation, namespace consolidation, and SfThemeRoot theme delivery - #97
Merged
Merged
Conversation
…on branch to github forked branch.
… in demo sample files from development css isolation branch to github forked branch.
… in demo sample files from development css isolation branch to github forked branch.
…lazor-toolkit into 1057683-CSS-Iso1
…lazor-toolkit into 1057683-CSS-Iso1
…nts by moving changes regarding CSS isolation.
…y in static SSR mode rendering of components
…oving changes regarding CSS isolation and added missing styles for Calendars and TextArea.
…lazor-toolkit into 1057683-CSS-Iso1
…lazor-toolkit into 1057683-CSS-Iso1
…zor-toolkit into release-branch
PrinceOliver
previously approved these changes
Oct 9, 2026
PrinceOliver
approved these changes
Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR prepares the Syncfusion Blazor Toolkit for the 2.0.0 major release. It consolidates public types into a single root namespace, migrates component styles to Blazor CSS isolation, and introduces
SfThemeRootso shared theme styles are emitted at render time (including static SSR). It also lands the approved API surface changes relative to NuGet 1.0.2, release documentation (CHANGELOG, version, migration notes), and related sample/test updates.These changes are intentionally major: consumers must update imports, review custom CSS overrides, and follow the approved 2.0 API migration contract.
Key Changes
1. Namespace Consolidation
Syncfusion.Blazor.Toolkit.@using.@using Syncfusion.Blazor.Toolkit(or equivalent in_Imports.razor/ C#).2. CSS Isolation Migration
.razor.css→ scoped bundle) for Buttons, ButtonGroup, Calendars, Inputs, Popups, Spinner, Chart, and related components.3. SfThemeRoot Theme Delivery
SfThemeRoot/SfThemeScope: render-time emission of the shared theme layer (:roottokens, base/utility styles, icon font, keyframes, dark / high-contrast / forced-colors) as<style id="sf-theme-root">.<SfThemeRoot />as the previous sibling of its root element; one owner per renderer emits the style, with automatic ownership recovery on dispose.4. Approved 2.0 API Surface
List→IList/interface signatures, getter-only ownership (UploadedFiles.Files,ChartData.CurrentPoints), parent metadata (dynamic→object), static helper construction limits, andDataAdaptor<T> where T : notnull.API-COMPATIBILITY.md,API-BREAK-INVENTORY.md.5. SSR and Rendering Fixes
6. Release Documentation and Version
CHANGELOG.mdfor 2.0.0 (Breaking / Added / Changed / Fixed / Migration Notes) and historical 1.0.x summaries.7. Samples, Tests, and Tooling
SfThemeRoot/ enforcement tests; fixed Playwright build issues and related sample console errors.Migration Notes (consumer-facing)
@using Syncfusion.Blazor.Toolkitonly.SfThemeRoot) are in the tree when theme emission is required.IList<T>(or interfaces) over casting toList<T>; mutate getter-only collections via Clear/Add.where T : notnullonDataAdaptor<T>subclasses.Validation